package com.github.boluo1230.wechat.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

public class SysConstant {

    @AllArgsConstructor
    @Getter
    public enum UserType {

        SUPER_ADMIN(1, "超级管理员"),
        ADMIN(2, "普通成员");

        private int type;
        private String name;

    }

    /**
     * 菜单类型
     */
    @AllArgsConstructor
    @Getter
    public enum MenuType {

        CATALOG(0),//目录
        MENU(1),//菜单
        BUTTON(2);//按钮

        private int value;

    }

}
